const type = 'DemoRedux_index/save'
const initState = {
  list: {},
  num: 0
}
// 创建 action 也就是同步更改 store
export const createAction = (data) => ({
  type,
  data
});
export const getlist = () => (dispatch) => {
  dispatch({
    type,
    data: { num: 1 }
  })
}
export default initState
